package com.zhong.demo1;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/*
 * 项目名:    SpringMvcDemo
 * 包名       com.zhong.demo1
 * 文件名:    TestController
 * 创建者:    ZJB
 * 创建时间:  2017/9/30 on 10:23
 * 描述:     TODO
 */
@Controller
public class TestController {

    @RequestMapping("/hello")
    @ResponseBody
    public String firstTest() {
        return "hello world";
    }

}
